package com.sh.data.engine.common.constants.code;

import lombok.Data;
import lombok.NonNull;

import java.io.Serializable;

/**
 * @author: mengzheng.mhc
 * @date: 2024/5/24 10:58
 */
@Data
public class BizCode implements Serializable {

    @NonNull
    private Integer code;

    @NonNull
    private String message;

    public BizCode(@NonNull Integer code, @NonNull String message) {
        this.code = code;
        this.message = message;
    }
}
